package com.lz.repository.fsh.vo;

import com.lz.entity.InsuranceSheet;
import lombok.Data;

import java.util.Date;
@Data
public class InsuranceSheetVo {

    private Integer insuranceSheetNo;
    private  String registrationStatus;
    private Double handlingFee;
    private String insuranceCompany;
    //private Customer customer;
    private Date effectiveTime;
    private String customerId;
    private Date invalidTime;
    private String customerName;
    private Integer employeeId;
    private String insuranceSheetState;
    public InsuranceSheetVo() {
    }

    public InsuranceSheetVo(InsuranceSheet insuranceSheet) {
        this.insuranceSheetNo = insuranceSheet.getInsuranceSheetNo();
        this.registrationStatus = insuranceSheet.getRegistrationStatus();
        this.handlingFee = insuranceSheet.getHandlingFee();
        this.insuranceCompany = insuranceSheet.getInsuranceCompany();
        this.effectiveTime = insuranceSheet.getEffectiveTime();
        this.invalidTime = insuranceSheet.getInvalidTime();
        this.customerName = insuranceSheet.getCustomer().getCustomerName();
        this.employeeId = insuranceSheet.getEmployee().getEmployeeId();
    }
}


